import {http} from "@/utils/http";
import type {PageParams} from "@/types/global";
import type {Hot} from "@/types/hot";
//特惠推荐
// 交叉类型合并
type hotParams = PageParams & { subType?: string }
export const hotPreferenceApi = (url: string, data?: hotParams) => {
  return http<Hot>({
    method: 'GET',
    url,
    data
  })
}
